<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
    <body>
        <h2>Lending Book ${lending.info.result}</h2>

        <table>
            <tr>
                <td>UseName:</td><td>${lending.userName}</td>
            </tr>
            <tr>
                <td>BookName</td><td>${lending.book.title}</td>
            </tr>
            <tr>
                <td>Author</td><td>${lending.book.author}</td>
            </tr>
            <tr>
                <td>Publisher</td><td>${lending.book.publisher}</td>
            </tr>
            <tr>
                <td>UseId:</td><td>${lending.info.userId}</td>
            </tr>
            <tr>
                <td>BookId :</td><td>${lending.info.bookId}</td>
            </tr>
            <tr>
                <td>Lending Date :</td><td>${lending.info.lendingDate}</td>
            </tr>
            <tr>
                <td>Return Date :</td><td>${lending.info.returnDate}</td>
            </tr>

        </table>
        <br>
        <a href="<c:url value="lending.htm"/>">Login</a>
        </br>
    </body>
</html>